package Models

import "gorm.io/gorm"

type User struct {
	gorm.Model
	Username string `gorm:"column:username;type:varchar(32);comment:用户姓名;NOT NULL" json:"username"`
	Password string `gorm:"column:password;type:varchar(32);comment:用户密码;NOT NULL" json:"password"`
	Avatar   string `gorm:"column:avatar;type:varchar(100);comment:用户头像;NOT NULL" json:"avatar"`
}
